/*
 * node.h
 *
 *  Created on: 05/12/2012
 *      Author: Maor
 */

#ifndef NODE_H_
#define NODE_H_

class Node {
	int data;
	Node* next;
	Node* prev;

public:
	Node(int key,const Node& next=NULL,const Node& prev =NULL);
	Node& getNext()const;
	Node& getPrev() const;
	int getData() const;
	void setNext(const Node& node);
	void setPrev(const Node& node);
 ~Node();
};

#endif /* NODE_H_ */
